package com.lcq.study.javabase;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

/**
 * @ClassName URLEncoderTest
 * @Description
 * @Author lichuanqi
 * @Date 2022/7/13 16:47
 * @Version 1.0
 **/
public class URLEncoderTest {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String encode = URLEncoder.encode("XGZD-C#-MEP20220314.rvt", "UTF-8");
        System.out.println(encode);
    }
}
